package core;

import java.util.List;

import core.Record.RecordType;

public class LoginRequest extends TCPRequest{

	public LoginRequest(String mxitid, MXitCommandType cmd,List<Field> fields) {
		super(mxitid, cmd,fields);
		this.getRecord(RecordType.MSG).fields.add(new Field("password",""));
		this.getRecord(RecordType.MSG).fields.add(new Field("version",""));
		this.getRecord(RecordType.MSG).fields.add(new Field("getContacts","0"));
		this.getRecord(RecordType.MSG).fields.add(new Field("capabilities",""));
		this.getRecord(RecordType.MSG).fields.add(new Field("dc",""));
		this.getRecord(RecordType.MSG).fields.add(new Field("features",""));
		this.getRecord(RecordType.MSG).fields.add(new Field("dialingCode",""));
		this.getRecord(RecordType.MSG).fields.add(new Field("locale","en"));
		this.getRecord(RecordType.MSG).fields.add(new Field("maxReplyLen",""));
		this.getRecord(RecordType.MSG).fields.add(new Field("protocolVer",""));
		// TODO Auto-generated constructor stub
	}

	/*String username, String password,String version,Byte getContacts,String capabilities,String distributionCode,
	String features,String dialingCode,String locale,Integer maxReplyLen,String protocolVersion,String destination, String source*/
//	public LoginRequest() throws UnsupportedEncodingException {
//		// TODO Auto-generated constructor stub
//	}

}
